package com.edu.bhu.admin.service;

import java.util.List;
import com.edu.bhu.admin.domain.CosOrderDetail;

/**
 * 订单明细Service接口
 * 
 * @author wangjinao
 * @date 2022-03-17
 */
public interface ICosOrderDetailService 
{
    /**
     * 查询订单明细
     * 
     * @param orderDetailId 订单明细主键
     * @return 订单明细
     */
    public CosOrderDetail selectCosOrderDetailByOrderDetailId(Long orderDetailId);

    /**
     * 查询订单明细列表
     * 
     * @param cosOrderDetail 订单明细
     * @return 订单明细集合
     */
    public List<CosOrderDetail> selectCosOrderDetailList(CosOrderDetail cosOrderDetail);

    /**
     * 新增订单明细
     * 
     * @param cosOrderDetail 订单明细
     * @return 结果
     */
    public int insertCosOrderDetail(CosOrderDetail cosOrderDetail);

    /**
     * 修改订单明细
     * 
     * @param cosOrderDetail 订单明细
     * @return 结果
     */
    public int updateCosOrderDetail(CosOrderDetail cosOrderDetail);

    /**
     * 批量删除订单明细
     * 
     * @param orderDetailIds 需要删除的订单明细主键集合
     * @return 结果
     */
    public int deleteCosOrderDetailByOrderDetailIds(String orderDetailIds);

    /**
     * 删除订单明细信息
     * 
     * @param orderDetailId 订单明细主键
     * @return 结果
     */
    public int deleteCosOrderDetailByOrderDetailId(Long orderDetailId);
}
